Please Login to view this content.
DB Error:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '( 1, 14 )+''+ILM.utils.randomNum( 1, 10 )+'.png' OR library_url = ''+ILM.uti...' at line 1
*********************************
Here's the full query:
SELECT * FROM libraries a LEFT JOIN labels b ON b.library_id = a.library_id WHERE (REPLACE(a.library_name,' ','') = ''+ILM.utils.randomNum( 1, 14 )+''+ILM.utils.randomNum( 1, 10 )+'.png' OR library_url = ''+ILM.utils.randomNum( 1, 14 )+''+ILM.utils.randomNum( 1, 10 )+'.png')